Skip to content

test: Strengthen some of the doc store mixin tests - #12047

Merged
sjrl merged 3 commits into
mainfrom
improvements-to-mixins
Jul 17, 2026
Merged

test: Strengthen some of the doc store mixin tests#12047
sjrl merged 3 commits into
mainfrom
improvements-to-mixins

Conversation

@sjrl

@sjrl sjrl commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Related Issues

  • fixes #issue-number

Proposed Changes:

Strengthen the document store testing mixins so that naive wrong implementations can no longer pass. The existing tests asserted correct expected values, but several used data where a store could skip work and still produce the right numbers. No mixin semantics change — only test data and assertion strictness. Sync and async variants are updated identically.

How did you test it?

Updated tests

Notes for the reviewer

Checklist

  • I have read the contributors guidelines and the code of conduct.
  • I have updated the related issue with new insights and changes.
  • I have added unit tests and updated the docstrings.
  • I've used one of the conventional commit types for my PR title: fix:, feat:, build:, chore:, ci:, docs:, style:, refactor:, perf:, test: and added ! in case the PR includes breaking changes.
  • I have documented my code.
  • I have added a release note file, following the contributors guidelines.
  • I have run pre-commit hooks and fixed any issue.

@sjrl
sjrl requested a review from a team as a code owner July 17, 2026 09:27
@sjrl
sjrl requested review from davidsbatista and removed request for a team July 17, 2026 09:27
@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
haystack-docs Ignored Ignored Preview Jul 17, 2026 9:37am

Request Review

@sjrl sjrl self-assigned this Jul 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Coverage report

This PR does not seem to contain any modification to coverable code.

@davidsbatista davidsbatista added the ignore-for-release-notes PRs with this flag won't be included in the release notes. label Jul 17, 2026

@davidsbatista davidsbatista left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏽

@sjrl
sjrl enabled auto-merge (squash) July 17, 2026 09:38
@sjrl sjrl changed the title test: Strengthen some of the doc store to mixin tests test: Strengthen some of the doc store mixin tests Jul 17, 2026
@davidsbatista

davidsbatista commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Curious to see if any doc_store tests now fail, but can only check it after a new release, since the integrations Mixin tests rely on the pip package

@sjrl
sjrl merged commit 580905c into main Jul 17, 2026
24 checks passed
@sjrl
sjrl deleted the improvements-to-mixins branch July 17, 2026 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ignore-for-release-notes PRs with this flag won't be included in the release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants